package com.ruoyi.odorservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.odorservice.entity.Industry;
import com.ruoyi.odorservice.entity.Odor;
import com.ruoyi.odorservice.model.vo.IndustryCraftOdorVo;
import com.ruoyi.odorservice.model.vo.IndustryListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IndustryMapper extends BaseMapper<Industry> {

    List<IndustryCraftOdorVo> getIndustryCraftOdor(@Param("industryId") Integer industryId, @Param("craftId") Integer craftId);

    List<Industry> selectIndustryPage(@Param("offset") Integer offset, @Param("limit") Integer limit, @Param("industryName") String industryName);

    Integer selectIndustryPageCount(String industryName);
}
